package dao;

import entity.Equip;
import entity.Player;
import org.springframework.stereotype.Repository;

@Repository("playerDao")
public class PlayerDaoimpl implements PlayerDao{
    @Override
    public Player insert(Equip equip) {
        Player player=new Player();
        player.setArmet(equip);
        player.setLoricae(equip);
        player.setBoot(equip);
        player.setRing(equip);
        return player;
    }
}
